python intersection update